package com.spzx.product.api;

import org.springframework.cloud.openfeign.FallbackFactory;

public class RemoteBrandFallbackFactory implements FallbackFactory<RemoteBrandService> {
    @Override
    public RemoteBrandService create(Throwable cause) {
        throw new RuntimeException(cause.getMessage());
    }
}
